package tut.topic.synchronizedKeyword.sync_this.before_synch;

class Account {
	private int balance = 0; // 預金残高

	public void deposit(int money) {
		int total = balance + money;
		balance = total;

	}
}